package com.dg.cuckoo.admin.repository;

import com.dg.cuckoo.admin.dto.basicInformation.userInfo.UserInfoDto;
import com.dg.cuckoo.core.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserInfoRepository extends BaseRepository<UserInfoDto,String> {

    UserInfoDto findByUserName(String username);

    UserInfoDto findByUserCoding(String coding);

    List<UserInfoDto> findByCompanyName(String companyName);

}
